﻿using System.Collections.Generic;
using Rodunu.Movies.Services.Models.Netflix.Attributes;

namespace Rodunu.Movies.Services.Models.Netflix
{
    public partial class AtHome
    {
        private List<AtHomeItem> _items = new List<AtHomeItem>();

        [XPath("/at_home/number_of_results")]
        public int NumberOfResults { get; set; }

        [XPath("/at_home/start_index")]
        public int StartIndex { get; set; }

        [XPath("/at_home/results_per_page")]
        public int ResultsPerPage { get; set; }

        [XPath("/at_home/at_home_item")]
        public List<AtHomeItem> Items
        {
            get { return _items; }
            set { _items = value; }
        }

    }
}
